/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jofapi;
import java.net.*;
/**
 *
 * @author malcom
 */


public class OPBoard {
    public OPAuthUser       obj_authUser;           // currently logged user
    public OPBoardConfig    obj_boardConfig;        // board configuragtion params
    public OPBoardStructure obj_boardStructure;     // board forums structure
    public URL              obj_urlToOFAPILib;      // url to ofapi library file
    public String           obj_boardRootPath;      // board root directory address
    public OPMembersCache   obj_membersCache;       // members cache archive

    public boolean          _config_workAsAsync;    // work as asynchrnous mode?
    public int              _config_cacheValidTime; // cache valid time in seconds

    // init method
    public void OPBoard(String urlToAddress, OPAuthUser authData) {
        _config_cacheValidTime = 300;


    }

    private boolean _checkOFAPICompatibility(String _rootPathAddress) {
        HttpURLConnection conn = new HttpURLConnection(new URL(_rootPathAddress));

    }
}
